package net.mingsoft.document.enums;

/**
 * @author gengfa
 * @date 22/01/14
 */
public enum StorageType {
    /**
     * 文件存储方式 'LOCAL'：本地,'STATIC'：静态web目录, 'FTP'：ftp服务器,'OSS'：对象存储
     */
    LOCAL("LOCAL", "本地存储"),
    STATIC("STATIC", "静态文件服务器"),
    FTP("FTP", "ftp服务器"),
    OSS("OSS", "对象存储服务");

    private String type;

    private String desc;

    StorageType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
